<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        let x = Number(prompt("鸡的数量"));
        let y = Number(prompt("兔的数量"));

        if ((2*x + 4*y) == 94){
            console.log(true);
        }else{
            console.log(false);
        }

    </script>
</head>
<body>

</body>
</html>